package com.wpw.web.base;

/**
 * @Description:
 * @ClassName: SynchronizedDemo
 * @CreateDate: 2020-06-07 17:49
 * @author: wupengwei
 */
public class SynchronizedDemo {
    public void method() {
        synchronized (this) {
            System.out.println("synchronized 代码块");
        }
    }
}
